use std::io;


/*
TODO:
use AFL to test input string.

*/

// fn guess_str(guess: &str) {
//     let flags = ["rust", "longer", "23@x(30#%2$=_+/><?"];
//     for wd in flags.iter() {
//         if wd == &guess {
//             panic!()
//         }
//     }
//     println!("Failed to find flag.");
// }

fn main() {
    println!("Guess the number!");
    println!("Please input your guess.");
    let mut guess = String::new();
    io::stdin().read_line(&mut guess)
        .expect("Failed to read line");

    println!("You guess: {}", guess);
    guess::show_version();
    guess::guess_str(guess.trim());
}
